home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia2.dir / 00539_Script_ALLEY Skippy Go To < prev    next >
Text File  |  1995-05-21  |  1KB  |  39 lines

  1. on mouseDown
  2.   put "GoTo" into f
  3.   put "GoToHL" into fHL
  4.   puppetSound "button.aif"
  5.   hiliter 23, f, fHL
  6. end 
  7.  
  8.  
  9.  
  10. on mouseUp
  11.   global gTheDay, theMovieName, payoffStart, payoffEnd,¼
  12.  whichPayOff, whichBuyer, gDayOrNight, whoIsIt, theStopFrame, thePayEnd, gOneOrTwo
  13.   puppetsprite 48, false
  14.   turnOffDaycons
  15.   WhatDayIsIt
  16.   if gTheDay = "14N" and gOneOrTwo = 2 then
  17.     put "FugPayOff" into whichPayOff
  18.     put "EOG" into whichBuyer
  19.   else
  20.     if gDayOrNight = "D" then 
  21.       put "NoBuyers" into whichBuyer
  22.       put "SKDDKAL.MOV" into theMovieName
  23.       put "PayOff" into whichPayOff
  24.     end if
  25.     if gDayOrNight = "N" then 
  26.       put "SkippyPayCont" into whichBuyer
  27.       put "SKNDKAL.MOV" into theMovieName 
  28.       put "BribePayOff" into whichPayOff
  29.       set whoIsIt = "Skippy"
  30.       set theStopFrame = 538
  31.       set thePayEnd = 686
  32.     end if
  33.   end if
  34.   set payoffStart = 0
  35.   set payoffEnd = 0
  36.   set the castNum of sprite 23 = cast "GoTo"
  37.   updatestage
  38.   richOrPoor
  39. end